package edu.xja.entity;

import java.time.LocalDateTime;

/**
 * 所有实体类的父类
 */
public class BaseEntity {
    private Integer id;
    private LocalDateTime createTime;
    private String createBy;
    private LocalDateTime lastUpdateTime;
    private String lastUpdateBy;
    private Integer delegeFlag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(LocalDateTime lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Integer getDelegeFlag() {
        return delegeFlag;
    }

    public void setDelegeFlag(Integer delegeFlag) {
        this.delegeFlag = delegeFlag;
    }
}
